﻿using System;
using EasyMvc.Utility;

namespace EasyMvc.Web.Common
{
    /// <summary>
    /// 对页面/视图的权限枚举
    /// </summary>
    public enum EnumViewPermission
    {
        [EnumTitle("管理文档")]
        ManageDocument = 1,

        [EnumTitle("管理文档分类")]
        ManageDocumentCategory = 2,

        [EnumTitle("管理用户")]
        ManageUser = 3,
        
        [EnumTitle("管理配置")]
        ManageConfig = 4,

        [EnumTitle("管理角色")]
        ManageRole = 5,

        [EnumTitle("日志查看")]
        ManageLog = 6
    }
}
